package com.jhx.video.store

import android.app.Activity
import com.jhx.common.framework.BasePresenter
import com.jhx.common.framework.BaseView
import com.jhx.common.model.Photos

/**
 *
 *
 * @author Jack 2018-03-27 10:57
 */
class Contract {

    interface PhotoView : BaseView {
        fun getPhotoSuccess(photos: Photos?)
        fun getContext(): Activity?
    }

    abstract class PhotoPresenter : BasePresenter<PhotoView>() {
        abstract fun getPhoto(nowPage: Int, pageSize: Int)
    }
}